package com.example.blog.dto.message;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class MessageInsertDto {
    @NotBlank(message = "不为空")
    private String system;
    @NotBlank(message = "不为空")
    private String name;
    @NotBlank(message = "不为空")
    private String content;
    @NotBlank(message = "不为空")
    private String auto;
    private String email;
}
